package encore.beans.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

public class Foo {

	private Too too;

	public Too getToo() {
		return too;
	}

	@Autowired(required=true)
	@Qualifier("test1")
	public void setToo(Too too) {
		this.too = too;
	}

	public void sayHello() {
		too.sayHello();
	}
}
